<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: syslog4cj.impl.message.AbstractSyslogMessage Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacesyslog4cj.html">syslog4cj</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1impl.html">impl</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1impl_1_1message.html">message</a></li><li class="navelem"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html">AbstractSyslogMessage</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">syslog4cj.impl.message.AbstractSyslogMessage Class Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for syslog4cj.impl.message.AbstractSyslogMessage:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.png" usemap="#syslog4cj.impl.message.AbstractSyslogMessage_map" alt=""/>
  <map id="syslog4cj.impl.message.AbstractSyslogMessage_map" name="syslog4cj.impl.message.AbstractSyslogMessage_map">
<area href="interfacesyslog4cj_1_1common_1_1SyslogMessageIF.html" alt="syslog4cj.common.SyslogMessageIF" shape="rect" coords="0,0,284,24"/>
<area href="classsyslog4cj_1_1impl_1_1message_1_1pci_1_1PCISyslogMessage.html" alt="syslog4cj.impl.message.pci.PCISyslogMessage" shape="rect" coords="0,112,284,136"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2a271d8d505bcd9439cc6df575c04e74"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#a2a271d8d505bcd9439cc6df575c04e74">createMessage</a> ():String</td></tr>
<tr class="separator:a2a271d8d505bcd9439cc6df575c04e74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a7c82b93709974c92387eb6c79f1986"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogMessageIF.html#a3a7c82b93709974c92387eb6c79f1986">createMessage</a> ():String</td></tr>
<tr class="separator:a3a7c82b93709974c92387eb6c79f1986"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a3149f894f4b31877a5f7ab09c8a2c430"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#a3149f894f4b31877a5f7ab09c8a2c430">static let UNDEFINED</a> = &quot;undefined&quot;</td></tr>
<tr class="separator:a3149f894f4b31877a5f7ab09c8a2c430"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44873d9ff0de8978b4830a36b1ca8e69"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#a44873d9ff0de8978b4830a36b1ca8e69">static let DEFAULT_DATE_FORMAT</a> = &quot;yyyyMMdd&quot;</td></tr>
<tr class="separator:a44873d9ff0de8978b4830a36b1ca8e69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68b57212328f2181498e2b44e9c7b93d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#a68b57212328f2181498e2b44e9c7b93d">static let DEFAULT_TIME_FORMAT</a> = &quot;HH:mm:ss&quot;</td></tr>
<tr class="separator:a68b57212328f2181498e2b44e9c7b93d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ce21151c0924d4d1066c35eca1c59e3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#a7ce21151c0924d4d1066c35eca1c59e3">static let DEFAULT_DELIMITER</a> = &quot; &quot;</td></tr>
<tr class="separator:a7ce21151c0924d4d1066c35eca1c59e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84d305b953f42038e901cec8a0a64969"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#a84d305b953f42038e901cec8a0a64969">static let DEFAULT_REPLACE_DELIMITER</a> = &quot;_&quot;</td></tr>
<tr class="separator:a84d305b953f42038e901cec8a0a64969"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a326442faf3f9458f4106d01d73b87a4e"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#a326442faf3f9458f4106d01d73b87a4e">getDelimiter</a> ()</td></tr>
<tr class="separator:a326442faf3f9458f4106d01d73b87a4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47385c8a590fde76b77ea33b96a7f308"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#a47385c8a590fde76b77ea33b96a7f308">getReplaceDelimiter</a> ()</td></tr>
<tr class="separator:a47385c8a590fde76b77ea33b96a7f308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a535ef0b2a1ecc05acd5c8d39c2cdd3a6"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#a535ef0b2a1ecc05acd5c8d39c2cdd3a6">getDateFormat</a> ()</td></tr>
<tr class="separator:a535ef0b2a1ecc05acd5c8d39c2cdd3a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa260db0b50710ca1f60c5eea195047c4"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#aa260db0b50710ca1f60c5eea195047c4">getTimeFormat</a> ()</td></tr>
<tr class="separator:aa260db0b50710ca1f60c5eea195047c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b2fade7af700c8997d251ce7e1a14fd"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#a8b2fade7af700c8997d251ce7e1a14fd">generateDate</a> ()</td></tr>
<tr class="separator:a8b2fade7af700c8997d251ce7e1a14fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef01be6016c3791bcfa99b9f9a5f4a5f"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#aef01be6016c3791bcfa99b9f9a5f4a5f">generateTime</a> ()</td></tr>
<tr class="separator:aef01be6016c3791bcfa99b9f9a5f4a5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a989a5e898e5642aa7955e88c9ad842cf"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#a989a5e898e5642aa7955e88c9ad842cf">generateDateAndTime</a> (DateTime dateTime)</td></tr>
<tr class="separator:a989a5e898e5642aa7955e88c9ad842cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa52d0c43468b6199dc067ebb6a5454cb"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#aa52d0c43468b6199dc067ebb6a5454cb">generateLocalHostName</a> ()</td></tr>
<tr class="separator:aa52d0c43468b6199dc067ebb6a5454cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc8d04c9f1ee193ca85157bc5bc6fd0c"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1message_1_1AbstractSyslogMessage.html#abc8d04c9f1ee193ca85157bc5bc6fd0c">replaceDelimiter</a> (String fieldName, String fieldValue, String delimiter, String replaceDelimiter)</td></tr>
<tr class="separator:abc8d04c9f1ee193ca85157bc5bc6fd0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Syslog 消息的抽象基类<br  />
 提供通用字段和默认实现， 用于构建符合 RFC 3164 或 RFC 5424 标准的日志消息。 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a2a271d8d505bcd9439cc6df575c04e74" name="a2a271d8d505bcd9439cc6df575c04e74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a271d8d505bcd9439cc6df575c04e74">&#9670;&#160;</a></span>createMessage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.impl.message.AbstractSyslogMessage.createMessage </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建完整日志消息（抽象方法）</p>
<dl class="section return"><dt>Returns</dt><dd>格式化的日志消息字符串 </dd></dl>

<p>Implements <a class="el" href="interfacesyslog4cj_1_1common_1_1SyslogMessageIF.html#a3a7c82b93709974c92387eb6c79f1986">syslog4cj.common.SyslogMessageIF</a>.</p>

</div>
</div>
<a id="a8b2fade7af700c8997d251ce7e1a14fd" name="a8b2fade7af700c8997d251ce7e1a14fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b2fade7af700c8997d251ce7e1a14fd">&#9670;&#160;</a></span>generateDate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.message.AbstractSyslogMessage.generateDate </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>生成当前日期字符串</p>
<dl class="section return"><dt>Returns</dt><dd>格式化的当前日期 </dd></dl>

</div>
</div>
<a id="a989a5e898e5642aa7955e88c9ad842cf" name="a989a5e898e5642aa7955e88c9ad842cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a989a5e898e5642aa7955e88c9ad842cf">&#9670;&#160;</a></span>generateDateAndTime()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.message.AbstractSyslogMessage.generateDateAndTime </td>
          <td>(</td>
          <td class="paramname"><em>dateTime</em>:&#160;</td>
          <td class="paramtype">DateTime</td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>生成日期和时间字符串</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dateTime</td><td>日期时间对象 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>[日期字符串, 时间字符串] </dd></dl>

</div>
</div>
<a id="aa52d0c43468b6199dc067ebb6a5454cb" name="aa52d0c43468b6199dc067ebb6a5454cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa52d0c43468b6199dc067ebb6a5454cb">&#9670;&#160;</a></span>generateLocalHostName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.message.AbstractSyslogMessage.generateLocalHostName </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取本地主机名</p>
<dl class="section return"><dt>Returns</dt><dd>本地主机名（获取失败返回 UNDEFINED） </dd></dl>

</div>
</div>
<a id="aef01be6016c3791bcfa99b9f9a5f4a5f" name="aef01be6016c3791bcfa99b9f9a5f4a5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef01be6016c3791bcfa99b9f9a5f4a5f">&#9670;&#160;</a></span>generateTime()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.message.AbstractSyslogMessage.generateTime </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>生成当前时间字符串</p>
<dl class="section return"><dt>Returns</dt><dd>格式化的当前时间 </dd></dl>

</div>
</div>
<a id="a535ef0b2a1ecc05acd5c8d39c2cdd3a6" name="a535ef0b2a1ecc05acd5c8d39c2cdd3a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a535ef0b2a1ecc05acd5c8d39c2cdd3a6">&#9670;&#160;</a></span>getDateFormat()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.message.AbstractSyslogMessage.getDateFormat </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取日期格式</p>
<dl class="section return"><dt>Returns</dt><dd>日期格式化字符串（默认 "yyyy/MM/dd"） </dd></dl>

</div>
</div>
<a id="a326442faf3f9458f4106d01d73b87a4e" name="a326442faf3f9458f4106d01d73b87a4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a326442faf3f9458f4106d01d73b87a4e">&#9670;&#160;</a></span>getDelimiter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.message.AbstractSyslogMessage.getDelimiter </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取字段分隔符</p>
<dl class="section return"><dt>Returns</dt><dd>字段间使用的分隔符（默认空格） </dd></dl>

</div>
</div>
<a id="a47385c8a590fde76b77ea33b96a7f308" name="a47385c8a590fde76b77ea33b96a7f308"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47385c8a590fde76b77ea33b96a7f308">&#9670;&#160;</a></span>getReplaceDelimiter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.message.AbstractSyslogMessage.getReplaceDelimiter </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取分隔符替换字符</p>
<dl class="section return"><dt>Returns</dt><dd>用于替换字段值中分隔符的字符（默认下划线） </dd></dl>

</div>
</div>
<a id="aa260db0b50710ca1f60c5eea195047c4" name="aa260db0b50710ca1f60c5eea195047c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa260db0b50710ca1f60c5eea195047c4">&#9670;&#160;</a></span>getTimeFormat()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.message.AbstractSyslogMessage.getTimeFormat </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取时间格式</p>
<dl class="section return"><dt>Returns</dt><dd>时间格式化字符串（默认 "HH:mm:ss"） </dd></dl>

</div>
</div>
<a id="abc8d04c9f1ee193ca85157bc5bc6fd0c" name="abc8d04c9f1ee193ca85157bc5bc6fd0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc8d04c9f1ee193ca85157bc5bc6fd0c">&#9670;&#160;</a></span>replaceDelimiter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.message.AbstractSyslogMessage.replaceDelimiter </td>
          <td>(</td>
          <td class="paramname"><em>fieldName</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>fieldValue</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>delimiter</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>replaceDelimiter</em>:&#160;</td>
          <td class="paramtype">String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>替换字段值中的分隔符</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fieldName</td><td>字段名（用于日志） </td></tr>
    <tr><td class="paramname">fieldValue</td><td>原始字段值 </td></tr>
    <tr><td class="paramname">delimiter</td><td>要替换的分隔符 </td></tr>
    <tr><td class="paramname">replaceDelimiter</td><td>替换字符 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>替换后的安全字段值 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a44873d9ff0de8978b4830a36b1ca8e69" name="a44873d9ff0de8978b4830a36b1ca8e69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44873d9ff0de8978b4830a36b1ca8e69">&#9670;&#160;</a></span>static let DEFAULT_DATE_FORMAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.message.AbstractSyslogMessage.static let DEFAULT_DATE_FORMAT = &quot;yyyyMMdd&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>默认日期格式（RFC 3164 风格） </p>

</div>
</div>
<a id="a7ce21151c0924d4d1066c35eca1c59e3" name="a7ce21151c0924d4d1066c35eca1c59e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ce21151c0924d4d1066c35eca1c59e3">&#9670;&#160;</a></span>static let DEFAULT_DELIMITER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.message.AbstractSyslogMessage.static let DEFAULT_DELIMITER = &quot; &quot;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>默认字段分隔符 </p>

</div>
</div>
<a id="a84d305b953f42038e901cec8a0a64969" name="a84d305b953f42038e901cec8a0a64969"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84d305b953f42038e901cec8a0a64969">&#9670;&#160;</a></span>static let DEFAULT_REPLACE_DELIMITER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.message.AbstractSyslogMessage.static let DEFAULT_REPLACE_DELIMITER = &quot;_&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>默认分隔符替换字符 </p>

</div>
</div>
<a id="a68b57212328f2181498e2b44e9c7b93d" name="a68b57212328f2181498e2b44e9c7b93d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68b57212328f2181498e2b44e9c7b93d">&#9670;&#160;</a></span>static let DEFAULT_TIME_FORMAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.message.AbstractSyslogMessage.static let DEFAULT_TIME_FORMAT = &quot;HH:mm:ss&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>默认时间格式 </p>

</div>
</div>
<a id="a3149f894f4b31877a5f7ab09c8a2c430" name="a3149f894f4b31877a5f7ab09c8a2c430"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3149f894f4b31877a5f7ab09c8a2c430">&#9670;&#160;</a></span>static let UNDEFINED</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.message.AbstractSyslogMessage.static let UNDEFINED = &quot;undefined&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>未定义字段的默认值 </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/impl/message/<a class="el" href="abstract__syslog__message_8cj.html">abstract_syslog_message.cj</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
